Q3Set_GetNextElementType
You can use theQ3Set_GetNextElementType
function to iterate through the elements in a set.
TQ3Status Q3Set_GetNextElementType ( TQ3SetObject set, TQ3ElementType *type);
set
- A set object.
type
- On entry, an element type, or
kQ3ElementTypeNone
to get the first element type in the specified set. On exit, the element type that immediately follows the specified element type in the set, orkQ3ElementTypeNone
if there are no more element types.DESCRIPTION
TheQ3Set_GetNextElementType
function returns, in thetype
parameter, the type of the element that immediately follows the element having the type specified by thetype
parameter in the set specified by theset
parameter. To get the type of the first element in the set, passkQ3ElementTypeNone
in thetype
parameter.Q3Set_GetNextElementType
returnskQ3ElementTypeNone
when it has reached the end of the list of elements.